﻿using Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SampleDomainDll {
    public class Blog {
        public long BlogId { get; set; }
        [Required]
        public string Content { get; set; }
        [MaxLength(100)]
        [MinLength(10)]
        [Required]
        [Name]
        public string Title { get; set; }
        public IList<Comment> Comments { get; set; }
    }
}
